<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://bmsintegration.languagewire.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://bmsintegration.languagewire.cph/ClientManagementService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import schemaLocation="http://bmsintegration.languagewire.cph/ClientManagementService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/LW.TranslationAgency.IntegrationService.Infrastructure" />
  <xs:element name="CreateCompany">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://bmsintegration.languagewire.com" minOccurs="0" name="request" nillable="true" type="q1:CreateCompanyRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="CreateCompanyRequest">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/LW.TranslationAgency.IntegrationService.Infrastructure" base="q2:Request">
        <xs:sequence>
          <xs:element minOccurs="0" name="Guid" nillable="true" type="ser:guid" />
          <xs:element minOccurs="0" name="InternalNote" nillable="true" type="xs:string" />
          <xs:element xmlns:q3="http://bmsintegration.languagewire.com" minOccurs="0" name="JobDefaultSettings" nillable="true" type="q3:CompanyJobDefaultSettings" />
          <xs:element name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="OriginId" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="PriceMatrixSourceCompanyId" nillable="true" type="xs:int" />
          <xs:element name="ResponsibleAmId" nillable="true" type="xs:string" />
          <xs:element name="ResponsibleOfficeId" type="xs:int" />
          <xs:element name="ResponsiblePmId" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element xmlns:q4="http://bmsintegration.languagewire.com" name="CreateCompanyRequest" nillable="true" type="q4:CreateCompanyRequest" />
  <xs:complexType name="CompanyJobDefaultSettings">
    <xs:sequence>
      <xs:element minOccurs="0" name="EnforceAgitoTranslate" type="xs:boolean" />
      <xs:element minOccurs="0" name="PermitAgitoTranslate" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element xmlns:q5="http://bmsintegration.languagewire.com" name="CompanyJobDefaultSettings" nillable="true" type="q5:CompanyJobDefaultSettings" />
  <xs:element name="CreateCompanyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="CreateCompanyResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateCustomer">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://bmsintegration.languagewire.com" minOccurs="0" name="request" nillable="true" type="q6:CreateCustomerRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="CreateCustomerRequest">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q7="http://schemas.datacontract.org/2004/07/LW.TranslationAgency.IntegrationService.Infrastructure" base="q7:Request">
        <xs:sequence>
          <xs:element name="CompanyId" type="xs:int" />
          <xs:element name="CountryId" type="xs:int" />
          <xs:element name="Email" nillable="true" type="xs:string" />
          <xs:element name="FirstName" nillable="true" type="xs:string" />
          <xs:element name="LastName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="MakePrimaryCustomer" type="xs:boolean" />
          <xs:element minOccurs="0" name="OriginId" nillable="true" type="xs:int" />
          <xs:element name="PrimaryInvoicingAccountId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element xmlns:q8="http://bmsintegration.languagewire.com" name="CreateCustomerRequest" nillable="true" type="q8:CreateCustomerRequest" />
  <xs:element name="CreateCustomerResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="CreateCustomerResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateInvoicingAccount">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://bmsintegration.languagewire.com" minOccurs="0" name="request" nillable="true" type="q9:CreateInvoicingAccountRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="CreateInvoicingAccountRequest">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q10="http://schemas.datacontract.org/2004/07/LW.TranslationAgency.IntegrationService.Infrastructure" base="q10:Request">
        <xs:sequence>
          <xs:element xmlns:q11="http://bmsintegration.languagewire.com" name="BillingContactInformation" nillable="true" type="q11:InvoicingContactInformation" />
          <xs:element name="CompanyId" type="xs:int" />
          <xs:element name="CurrencyId" type="xs:int" />
          <xs:element xmlns:q12="http://bmsintegration.languagewire.com" minOccurs="0" name="InvoicingSettings" nillable="true" type="q12:InvoicingSettings" />
          <xs:element name="Name" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element xmlns:q13="http://bmsintegration.languagewire.com" name="CreateInvoicingAccountRequest" nillable="true" type="q13:CreateInvoicingAccountRequest" />
  <xs:complexType name="InvoicingContactInformation">
    <xs:sequence>
      <xs:element name="City" nillable="true" type="xs:string" />
      <xs:element name="CompanyName" nillable="true" type="xs:string" />
      <xs:element name="CountryId" type="xs:int" />
      <xs:element name="Email" nillable="true" type="xs:string" />
      <xs:element name="FirstName" nillable="true" type="xs:string" />
      <xs:element name="LastName" nillable="true" type="xs:string" />
      <xs:element name="PostalCode" nillable="true" type="xs:string" />
      <xs:element name="StreetAddress" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="StreetAddress2" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element xmlns:q14="http://bmsintegration.languagewire.com" name="InvoicingContactInformation" nillable="true" type="q14:InvoicingContactInformation" />
  <xs:complexType name="InvoicingSettings">
    <xs:sequence>
      <xs:element name="EmailInvoices" type="xs:boolean" />
      <xs:element name="InvoiceMonthly" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element xmlns:q15="http://bmsintegration.languagewire.com" name="InvoicingSettings" nillable="true" type="q15:InvoicingSettings" />
  <xs:element name="CreateInvoicingAccountResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="CreateInvoicingAccountResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>